package bigdata.hdfs;

import org.apache.hadoop.conf.Configuration;

public class Connect2HDFS {
	static private Configuration conf=null;
	public  static void connect2hdfs() {
		conf = new Configuration();
		conf.set("fs.defaultFS", "hdfs://localhost:9000/");
		conf.set("fs.hdfs.impl", "org.apache.hadoop.hdfs.DistributedFileSystem");
	}
	
	public static Configuration getconf() {
		return conf;
	}
}
